<template>
  <div>
    <h1>我是首页路由</h1>
  </div>
</template>

<script setup>
import useUserStore from '@/store/modules/user'
import { onMounted } from 'vue'
let userStore = useUserStore()
onMounted(() => {
  console.log(userStore, '999999')
  userStore.getUserInfo()
})
</script>

<style lang="scss" scoped></style>
